#ifndef _LOOKDOWN_H_
#define _LOOKDOWN_H_

struct _lookdown {
  gboolean mapdetect;
  gboolean mondetect;
  gboolean objdetect;
  struct _sprite *sprite;
  struct _task *task;
};

struct _lookdown Lookdown;

void lookdown_trans_state(state (*fp)(struct _task *task), struct _lookdown *lookdown);
void lookdown_init();
void lookdown_free();
struct _lookdown *lookdown_add();
state lookdown_show(struct _task *task);
state lookdown_hide(struct _task *task);
void lookdown_update();
#endif
